import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import App from './App.vue'
// 导入全局组件
import GlobalButton from './components/GlobalButton.vue'

const app = createApp(App)

// 注册全局组件
app.component('GlobalButton', GlobalButton)

app.use(ElementPlus)
app.mount('#app')